#! /bin/bash

cd coconut_trunk
read -p "Files to commit, seperated by space: " files
read -p "Commit message, including RB: " message
revision=`svn commit $files -m $message | grep revision | tr -d 'Committed revision ' | head -c -2`
let revision_old=$revision-1
echo "This is a test $revision_old:$revision"

cd ..
read -p "Latest release: " release
#mint checkout coconut -b $release


